<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>perfect-scrollbar example</title>
    <link href="../dist/css/perfect-scrollbar.css" rel="stylesheet">
    <script src="../dist/js/perfect-scrollbar.js"></script>
    <style>
      #iframe { width: 100%; min-height: 450px; border: 0; }
      html { direction: rtl; }
    </style>
  </head>
  <body>
    <iframe src="iframe-content.html" id="iframe"></iframe>
    <script>
      var iframe = document.querySelector('#iframe');
      iframe.onload = function () {
        Ps.initialize(iframe.contentDocument.querySelector('#Default'))
      };
    </script>
  </body>
</html>
